{% load i18n %}

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="/static/css/ajiaojr.css" type="text/css">
    <link rel="stylesheet" href="/static/css/magpie.css" type="text/css">
    <link rel="icon" type="image/png" href="/static/images/favicon.png">
    <title>{{ title_string }} - {{ club_config.club_name }}</title>
  </head>
  <body>
    <table border="0" width="100%" cellpadding="3" cellspacing="5"
       class="centre">
      <!-- header row -->
      <tr>
        <td class="header-row">
          <table width="100%" cellpadding="0" cellspacing="0">
            <tr>
              <td>{{ title_string }} - {{ club_config.club_name }}</td>
              <td align="right">
                {% if current_club_user %}
                  <b>{{ current_club_user.user.email }}</b> |
                {% endif %}
                <a href="/">{% trans "Home" %}</a>
                {% if current_club_user %}
                  |
                  <a href="/pm/inbox/">
                    {% trans "Private Messages" %}
                    {% if current_club_user.has_unread_message %}
                      ({%trans "New Message" %})
                    {% endif %}
                  </a>
                  |
                  <a href="/profile/">
                    {% trans "Profile" %}
                  </a>
                {% endif %}
                | {% trans "Help" %}
                | {{ user_control_string|safe }}
              </td>
            </tr>
          </table>
        </td>
      </tr>
      <!-- body row -->
      <tr>
        <td>{% block body %}body{% endblock %}</td>
      </tr>
      <!-- footer row -->
      <tr>
        <td class="footer-row">
          <table width="100%" cellspacing="0" cellpadding="0">
            <tr>
              <td>{% blocktrans with club_config.version as version %}footer.poweredby {{version}}{% endblocktrans %}
                |
                <a href="http://ajiaojrmagpieblog.blogspot.com"
                  target="_blank">Blog</a>
                |
                <a href="http://code.google.com/p/magpie/issues/list"
                  target="_blank">Issues</a>
                |
                <a href="http://code.google.com/p/magpie/wiki/ChangeLog"
                  target="_blank">What's New</a>
                |
                <a href="http://code.google.com/p/magpie/wiki/Roadmap"
                  target="_blank">Roadmap</a></td>
              <td align="right">
                <a href="/about.php">{% trans "About" %}</a>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </body>
</html>
